Skip to content

fix: update kubernetes configurations for care infrastructure#4

Open
areebahmeddd wants to merge 2 commits intoohcnetwork:mainfrom
areebahmeddd:main
Open

fix: update kubernetes configurations for care infrastructure#4
areebahmeddd wants to merge 2 commits intoohcnetwork:mainfrom
areebahmeddd:main

Conversation

@areebahmeddd
Copy link
Member

@areebahmeddd areebahmeddd commented Feb 21, 2025

Signed-off-by: Areeb Ahmed hi@areeb.cloud

Summary of Changes

Fixes: #3

  • Upgrades:

    • cert-manager to v1.12, using ingressClassName in spec instead of annotations.
    • redis-stack-server to v6.2.5v17 (Latest LTS).
    • NGINX to v1.26 (Latest LTS).
  • Fixes:

    • Set nginx.ingress.kubernetes.io/ssl-redirect: "false" in Ingress to fix 301/308 redirects.
    • Commented out the NGINX redirect logic:
      if ($http_x_forwarded_proto != "https") {
        return 301 https://$host$request_uri;
      }
    • Updated HPA apiVersion to apps/v1 (from apps/beta1).
  • Configuration Updates:

    • Added missing POSTGRES_PASSWORD placeholder in care-configmap.yaml.
    • Set env: production in relevant templates.
    • Replaced "coronasafe" with "ohc.network".
    • Fixed missing :80 in proxy_pass for care-fe-staging-production.
  • YAML Clean-Up:

    • Fixed indentation for better consistency and readability.

Checks:

  • Tested deployment on Google Kubernetes Engine (GKE) locally.

image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant